package ooday04;

import Homework.ooday02.Person;

public class UplodeDemo {
    public static void main(String[] args) {


        Dog d = new Dog("小黑",8,"黑");
        Animal o = new Dog("小黑",7,"黑");
        Swim g = new Dog("小黑",6,"黑");
        d.eat();
        d.drink();
        o.eat();
        o.drink();
        g.swim();


























    }
}
